//void, Obj owner
Obj WatchEye;
int r;

if (!owner.AsUnit.IsValid)
	return;

Sleep(rand(100)+100);

r = rand(4);
if(r == 0)
	WatchEye = Place("WatchEye", owner.pos+Point(150, 150), owner.player);		
else if(r == 1)
	WatchEye = Place("WatchEye", owner.pos+Point(-150, -150), owner.player);
else if(r == 2)
	WatchEye = Place("WatchEye", owner.pos+Point(150, -150), owner.player);
else 
	WatchEye = Place("WatchEye", owner.pos+Point(-150, 150), owner.player);

if(WatchEye.IsValid){
	WatchEye.SetSight(2000);
	WatchEye.SetCommand("spy");
	//SwapSelectedObj(owner, WatchEye); 
	ItemUsed(1);
}

